package org.example.kg_back.controller;


import org.example.kg_back.common.result.Result;
import org.example.kg_back.service.imp.AtcDutyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/api/atcDuty")
public class AtcDutyController {

	@Autowired
	private AtcDutyService service;

	/**
	 * 查询管制数据统计
	 * @return
	 */
	@GetMapping("/findATCDuty")
	public Result<?> findATCDuty(){
		return Result.success(service.findATCDuty());
	}
}
